package cn.yunyichina.provider.iface.entity.pay;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-11-04 09:23:09
*/
public class PaymentJournalVoOut  implements Serializable {

     /*第三方支付APP_ID*/
     @NotBlank(message = "appId不能为空")
     private String appId;
     public String getAppId() {
          return appId;
     }
     public void setAppId(String appId) {
          this.appId = appId;
     }
     /*订单号*/
     private String orderNo;
     public void setOrderNo(String orderNo) {
          this.orderNo = orderNo;
     }
     public String getOrderNo() {
          return orderNo;
     }

     /*医院订单号*/
     private String hisOrderNo;
     public void setHisOrderNo(String hisOrderNo) {
          this.hisOrderNo = hisOrderNo;
     }
     public String getHisOrderNo() {
          return hisOrderNo;
     }

     /*外部订单号*/
     private String outOrderNo;
     public void setOutOrderNo(String outOrderNo) {
          this.outOrderNo = outOrderNo;
     }
     public String getOutOrderNo() {
          return outOrderNo;
     }

     /*订单类型              1:挂号              2:取号              3:门诊缴费              4:住院缴费              5:预约平台              6.病案复印*/
     @NotNull(message = "orderMode不能为空")
     private Short orderMode;
     public Short getOrderMode() {
          return orderMode;
     }
     public void setOrderMode(Short orderMode) {
          this.orderMode = orderMode;
     }

     /*支付渠道(1:微信;2:支付宝;3:银联;11:微信APP支付;12:微信公众号支付;13:微信扫码付;14:微信刷卡付;21:支付宝APP支付;22:支付宝手机网站支付;23:支付宝扫码支付;24:支付宝条码支付;25:支付宝收款;)*/
     @NotNull(message = "tradeMode不能为空")
     private Short tradeMode;
     public Short getTradeMode() {
          return tradeMode;
     }

     public void setTradeMode(Short tradeMode) {
          this.tradeMode = tradeMode;
     }

     /*
     交易开始时间
      */
     @NotBlank(message = "startTime不能为空")
     private String startTime;
     public String getStartTime() {
          return startTime;
     }

     public void setStartTime(String startTime) {
          this.startTime = startTime;
     }
     /*
          交易结束时间

           */
     @NotBlank(message = "endTime不能为空")
     private String endTime;
     public String getEndTime() {
          return endTime;
     }

     public void setEndTime(String endTime) {
          this.endTime = endTime;
     }
     /*分院CODE*/
     private String branchCode;
     public void setBranchCode(String branchCode) {
          this.branchCode = branchCode;
     }
     public String getBranchCode() {
          return branchCode;
     }

     public String getHospitalCode() {
          return hospitalCode;
     }

     public void setHospitalCode(String hospitalCode) {
          this.hospitalCode = hospitalCode;
     }

     /*应用CODE*/
     @NotBlank(message = "hospitalCode不能为空")
     private String hospitalCode;

}